package com.baidu.fegin;
import com.baidu.utils.ResultResponse;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import java.util.HashMap;
/**
 * @Description: 调用短信
 * @Author: 王雨超
 * @Date: 2021/12/13 11:16
 */
@FeignClient(value = "message")
public interface MessageFegin {
    @PostMapping("/note/sendNote")
    public ResultResponse sendMessage(@RequestBody HashMap<String, Object> map);
}
